package com.guet.ltomanagement.service;

import com.guet.ltomanagement.entity.SysUnit;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sjj
 * @since 2023-03-03
 */
public interface SysUnitService extends IService<SysUnit> {

    Boolean add(SysUnit sysUnit);

    Boolean update(SysUnit sysUnit);

    Boolean delete(int sysUnitId);

    List<SysUnit> getUnitListPage(int page, int size);

    SysUnit getUnitById(Integer id);

    List<SysUnit> getAllUnit();

    List<SysUnit> getUnitTree();

    List<SysUnit> getUnitList();
}
